package com.example.liuxing.jdmall.activity;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.Window;
import android.widget.Toast;

/**
 * Created by liuxing on 2017/7/13.
 */

public class BaseActivity extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // 没有title
        requestWindowFeature(Window.FEATURE_NO_TITLE);
    }

    public void tipMessage(String message) {
        Toast.makeText(this, message, 0).show();
    }
}
